Top 10k strings from Duckworth Highway Code (1985)(Duckworth Educational Computing)(Side A).tzx in <root> / bin / z80 / software / Sinclair Spectrum Collection TOSEC.exe / Sinclair ZX Spectrum - Utilities & Educational / Sinclair ZX Spectrum - Utilities & Educational - [TZX] (TOSEC-v2007-01-01) /

Back to the directory listing

  12 nquestion=0
   7 ;"Press ENTER";:
   3 long)+(6700
   3 c$("The Duckworth Highway Code");
   3 STOPPING DISTANCES
   2 usecount=0
   2 pass=r$="pass"
   2 correct=correct+1
   2 ;"PROGRAM 1: QUESTIONS & ANSWERS"
   2 );"      ";(" "
   1 words from l$ into w$
   1 w(nw)=w(nw)+1
   1 w$(nw,w(nw))=s$(p)
   1 vertaking"'" 
   1 v$="("+v$+"0)"
   1 usecount=usecount+1
   1 usecount=1
   1 topping distances"'" 
   1 ser (part 2)"'" 
   1 score=score+1
   1 r$=" "+r$+" "
   1 r$(p)=" ":
   1 process r$ for analysis
   1 pppppppppppppppppppppppppppGGG
   1 p=correct/nquestion
   1 otorways"'" 
   1 origin=60000
   1 oad user (part 1)"'" 
   1 o$=a$(orpos+1
   1 numberrep=
   1 numberrep:
   1 number=number+1
   1 nquestion=nquestion-1
   1 nquestion=nquestion+1
   1 nquestion+
   1 nquestion)
   1 nall=nall+(l$(
   1 long);("The words I was looking for in  your answers were:"
   1 l$=k$(por+1
   1 i((";:.,!?-"+
   1 i("|",a$):
   1 i("?",l$):
   1 i("  ",r$):
   1 hpic      
   1 hcp1      
   1 hcbp1     y
   1 hc1       !
   1 five-""uld walk on the right
   1 edestrian"'" 
   1 doingquestion=0
   1 correct+" out of "+
   1 col=col+lw+4
   1 col=col+lw+2
   1 co=s$(p)=","
   1 clists"'" 
   1 c1        
   1 c$="abducemsg"
   1 c$("the program loads.")
   1 c$("by Stephen Zara.");';
   1 c$("Then press any key.")
   1 c$("STOP  THE TAPE");
   1 c$("Questions and answers section.")''" Press a highlighted key to      select a subject on which you   wish to be tested."
   1 c$("Pretty good.");
   1 c$("Please wait.")
   1 c$("Please wait while the rest of")'
   1 c$("Perfect!");
   1 c$("OK - but nothing special!");
   1 c$("More work needed!");
   1 c$("More than half right!");
   1 c$("Almost perfect.");
   1 c$("All distances in feet."):
   1 c$("A poor score, but keep trying!");
   1 c$("(under perfect conditions)")
   1 c$("    Question "+
   1 anes and markings"'" 
   1 aiting and parking"'" 
   1 a$=l$(qmpos+1
   1 WAITING AND PARKING
   1 Typing your answers:
   1 THE ROAD USER (PART 2)
   1 THE ROAD USER (PART 1)
   1 THE PEDESTRIAN
   1 Stopping distances
   1 SPECIAL RULES FOR CYCLISTS
   1 Press any key to be tested
   1 Press any key
   1 Please note:
   1 OVERTAKING
   1 LANES AND MARKINGS
   1 For some questions..
   1 DD````````````````````````````D
   1 DD```````````````````````````DD
   1 DD``````````````````````````DD
   1 DD`````````````````````````DDD
   1 DDD````````````````````````DDD
   1 DDD```````````````````````DDDD
   1 DDDD`````````````````````DDD
   1 DDDD``````````<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<!K
   1 DDDDD``````````````````````DDDD
   1 Created with Ramsoft MakeTZX
   1 >88888888888888<<88888888888888888888888888888<<<88888888888888888888888888888<<<88888888888888888888888888888<<<888888888888888888888888888888:888888888888888888888888888```````````````DD`````````````````````````````DDD`````````````````````````````D
   1 ;("Thinking"
   1 ;("The word(s) I was looking for inyour answer was/were:"
   1 ;"incorrect:";
   1 ;"distance";
   1 ;"correct: ";
   1 ;"Your answers:";
   1 ;"You typed:";
   1 ;"You have scored ";correct;" out of ";nquestion;
   1 ;"Type the items, one at a time,  (the order doesn't matter)      following each by ENTER." 
   1 ;"Press any key":
   1 ;"Please wait  while the questionsare prepared."
   1 ;"Please - try to get ";'
   1 ;"Perhaps you will get better with practise!";
   1 ;"Looking at your answer...."
   1 ;"If you think your answer was ok,press SPACE otherwise ENTER";
   1 ;"Correct:";
   1 ;"Checking if your answer was ok.."
   1 ;" feet.":
   1 ;" Extracts from The Highway Code  are Crown Copyright and are     reproduced with permission of   the Controller of Her           Majesty's Stationery Office."
   1 8ppppppppppppppppppppppppp@GGG
   1 88pppppppppppppppppppppp8@GGGG
   1 88pppppp@@@@@@@@@@@GGGGGG
   1 888ppppppppppppppppppppp@@@GGG
   1 8888ppppppppppppppppppp@
   1 88888pppppppppppppppppp
   1 888888ppppppppppppppp@GG
   1 8888888ppppppppppppp@G
   1 88888888pppppppppp@@GG
   1 888888888ppppppppp@
   1 8888888888ppppppp@@G
   1 88888888888888888888888888888888pppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppGppppppppppppppppppppppppppppppGGpppppppppppppppppppppppppppppGG
   1 +lw);", ";
   1 +lw);" or ";:
   1 )="                                "(
   1 );"something";
   1 );"mph thinking braking  overall       distance distance stopping"'
   1 );"Type your answer, '";
   1 );"Type item ";answer;", '";
   1 );"' to stop this test"'
   1 );"' to finish this section.";
   1 );"' if you"'"don't know, or '";
   1 );"' if  youdon't know, or '";
   1 );" right!"
   1 );"    ";d(i,2
   1 )+("Overall stopping"
   1 )+("Braking"
   1 )+" distance,";
   1 )+" "+r$(p+2
   1 '"the answer is ";
   1 ' to finish this section.";
   1 "Your score on this section was"'
   1 "You may only park, at night, on the right-hand side of what     kind of road?|one-way,one way"
   1 "Whom should you first consider  if your vehicle becomes stuck onthe crossing?|passenger,passengers"
   1 "Which lane should you normally  keep to?|left,left-hand,left hand"
   1 "Which half of the road should   not be used on a single         carriageway with four lanes,    unless otherwise indicated?|right,right hand"
   1 "Which colour studs may mark the nearside edge of the road?red"
   1 "Which colour studs may mark the lanes or centre of the road?white"
   1 "Which colour studs may be used  across the lay-bys and side     roads?green"
   1 "Where on a motorway may you     park?|service area,service areas"
   1 "When, and only when, should you brake sharply?emergency"
   1 "When riding, unless signalling, what should you keep both hands on?|handlebars,handlebar,handle bars,handle bar"
   1 "When riding, should you keep    both feet on the pedals?yes"
   1 "When riding a cycle, are you    permitted to lead an animal?no"
   1 "When driving past animals, what should you give them, and be    ready to do?room,stop"
   1 "What two things should you do towindscreens, lights, reflectors and mirrors whenever you can?check,clean"
   1 "What three items must you ensureare in good working order?brakes,reflector|lamps,lights"
   1 "What should you try to do with  your vehicle if it breaks down  (where should you try to move   it)?off road"
   1 "What should you ensure if any   loads are carried or towed?safe|secure,secured"
   1 "What should you do with your    headlamps when meeting other    vehicles or road users?|dip,dipped"
   1 "What should you do when         signalled to do so by a school  crossing patrol showing a       'STOP-CHILDREN' sign?stop"
   1 "What should you be able to do   within the distance seen to be  clear?stop"
   1 "What should be cancelled after  a manoeuvre?|indicator,indicators"
   1 "What must you use at night wherethe street lamps are more than  200 yards apart?|headlamps,headlights"
   1 "What must you not do for longer than absolutely necessary?reverse"
   1 "What must you ensure your cycle is before riding it?safe"
   1 "What must you do when someone   has stepped on a zebra crossing,or is crossing a road into which you are turning?|give way,stop"
   1 "What is the largest number of   people allowed to ride side by  side?|2,two"
   1 "What is it a good idea to fit toyour bike?bell"
   1 "What halves the risk of death orinjury if you are involved in anaccident?|seat belt,seat belts"
   1 "What colour studs separate the  acceleration and deceleration   lanes from the through          carriageway?green"
   1 "What colour studs may mark the  central reservation of dual     carriageways?amber"
   1 "Unless signs show otherwise,    what is the speed limit (mph) onall roads where there are streetlights?|30,thirty" 
   1 "Under what conditions can you   enter an area of white diagonal stripes with a solid white edge?emergency"
   1 "Under ordinary circumstances areyou allowed to stop on the      motorway?no"
   1 "Type in the missing word:       Pedestrians may have to cross   roads where there are no        crossings; show them *.?consideration"
   1 "Type in the missing word:       It is the driver's respon-      sibility to ensure that a child under * years old is suitably   restrained?|fourteen,14"
   1 "Type in the missing word:       Go much more slowly if the road is * or * or there is *.?wet,icy,fog"
   1 "Type in the missing word:       Children are more interested in ice-cream than *.?traffic"
   1 "Type answer (as a number)"'"or '";
   1 "The flashing amber that follows the red light at a pelican      crossing means that you must    give way to?pedestrians"
   1 "Should you wear light coloured  or reflective and fluorescent   clothing?yes"
   1 "Should you use your rear fog    lamps when it is raining or     misty but visibility is not     seriously reduced?no"
   1 "Should you use hazard warning   lights when moving?no"
   1 "Should you ride close behind    other vehicles?no"
   1 "Should you reverse into a main  road?no"
   1 "Should you pass a red or red    flashing light?no"
   1 "Should you park in the zigzags  or rows of studs near           pedestrian crossings?no"
   1 "Should you drive with a defec-  tive or unsuitable exhaust      system?no"
   1 "Should you cross a solid white  line to overtake a slow vehicle?no"
   1 "Particularly when overtaking andturning, which three things     should you keep a special       lookout for?cycles,motorcycles,pedestrians"
   1 "On which side of the road shouldyou walk if there is no foot-   path?|right,right hand"
   1 "On a single track road, when a  vehicle is coming uphill, what  should you do whenever possible?give way"
   1 "On a single carriageway with    three lanes, which lane only    should be used for overtaking   and turning right?|middle,centre"
   1 "On a motorcycle, apart from     wearing a light-coloured or     reflective and fluorescent      clothing, what (of approved     design) must be worn?helmet"
   1 "Is it an offence to pick up a   hitch-hiker on a motorway slip  road?yes"
   1 "Is it an offence to drive with  uncorrected defective vision?yes"
   1 "If you have these fitted, what  should you turn on if your car  is stuck on the road?hazard warning|lights lamps"
   1 "If you feel unsure at a round-  about and you do not decide to  stay in the left hand lane what should you do?|get off,dismount"
   1 "If you feel tired, or have been drinking alcohol, or are under  the influence of drugs, or are  unwell, what should you NOT do?drive"
   1 "If you break down, where should you attempt to place your       vehicle?hard shoulder"
   1 "If you are the first on the     scene of an accident should you stay until emergency services   arrive?yes"
   1 "If you are halfway across a     crossing and amber lights and analarm start, what should you do?keep going"
   1 "If very quick, is it alright to pick up or set down passengers  at or near a school entrance or a school crossing patrol?no"
   1 "If traffic is moving slowly in  queues and vehicles in a lane toyour right are moving more      slowly, can you overtake?yes"
   1 "If there is no suitable gap, in which lane should one wait untilit is safe to enter the motor-  way?acceleration"
   1 "If there is an official con-    trolling the traffic, should youcross to the front or back of   them?front"
   1 "If the barriers stay down and notrain arrives how many minutes  should you wait before con-     tacting the signalman?|3,three"
   1 "If something falls from your    vehicle how should you inform   the police?|telephone,phone"
   1 "If L-plates have been fitted    what should you do when the     vehicle is not being used for   driving instruction or practice?|remove,removed,cover,covered"
   1 "How should you leave pedestrian crossings in traffic queues?clear"
   1 "Generally, to which side of the road should you keep?|left,left hand,near side"
   1 "Fill in the missing words:      you should only move out when itwill not make other road users  change * or *?speed,direction"
   1 "Fill in the missing words:      You should not let your vehicle stand where it would make it    difficult for others to * *.?see,clearly"
   1 "Fill in the missing words:      You should not let your vehicle stand where it would make * * *?the,road,narrow"
   1 "Fill in the missing words:      You must not let your vehicle   stand on a motorway except on   the * * in an emergency.?hard shoulder"
   1 "Fill in the missing words:      Make sure you always park your  vehicle * and where it will     cause least * to others.?safely,inconvenience"
   1 "Fill in the missing words:      In the dark, or in poor light,  always wear something * or *-*  or *?white,light coloured,reflective"
   1 "Fill in the missing words:      In conditions of poor visibility * and be *.?see,seen"
   1 "Fill in the missing words:      If there is a suitable cycle    path * * *.?ride on it"
   1 "Fill in the missing words:      Do not overtake where you cannot* far enough * to be sure it is * to do so.?see,ahead,safe"
   1 "Fill in the missing words:      Do not overtake when to do so   would force another vehicle to  * or * *.?swerve,slow,down"
   1 "Fill in the missing words:      Broken white lines across the   carriageway indicate that you   should * *.?give,way"
   1 "Fill in the missing word:       You must * signals or signs fromauthorised persons e.g.         traffic wardens?obey"
   1 "Fill in the missing word:       Never attempt to cross a level  crossing unless you can see the exit road is *.?clear"
   1 "Fill in the missing word:       If in * do not overtake.?doubt"
   1 "Fill in the missing word:       Do not overtake where you might come into * with other road     users.?conflict"
   1 "Fill in the missing word:       Do not overtake unless you are  sure you can do so without      * to others and yourself.?danger"
   1 "Fill in the missing word:       Do not let your vehicle stand   where it would cause * to other vehicles or pedestrians.?danger"
   1 "Fill in the missing word:       Do not let your vehicle stand   where * vehicles stop or go in  or out.?emergency"
   1 "Fill in the missing word:       Any kind of * optical equipment should not be used at night or  in conditions of poor visi-     bility?tinted"
   1 "Fill in the missing word:       A solid white line across the   carriageway indicates that you  should *.?stop"
   1 "Even if there are no zigzag     lines, what must you not do justbefore a zebra crossing?overtake"
   1 "Does tinted glass help your     vision?no"
   1 "Does the rule 'overtake only on the right' hold true all the    time?no"
   1 "At least how many years old     should children be before they  are allowed out onto the road bythemselves?|5,five"
   1 "At least how many yards away    should the red warning sign be  placed if you break down on a   road other than a motorway?|50,fifty"
   1 "At a pedestrian crossing, is it all right to start crossing     when the green man is flashing?no"
   1 "At a crossing without gates, if there is a telephone, can it be used to check there is no train coming?yes"
   1 "As well as giving a clear arm   signal, what should you do      before making a manoeuvre?|glance,look behind"
   1 "As soon as you encounter        conditions of poor visibility   what is the first thing you     should do?slow down"
   1 "Are you permitted to drive on   the footpath or pavement?no"
   1 "Are you allowed to carry        passengers if your cycle has notbeen built or altered to do so?no"
   1 "Are you allowed to be towed by  another vehicle or cyclist?no"
   1 "Are pedestrians allowed to thumblifts on the slip roads to      motorways?no"
   1 "A single broken line, with long markings and short gaps, in the middle of the road is what kind of a warning line?hazard"
   1 ">You should watch out for other  drivers' signals and take any   necessary action promptly.?"
   1 ">You should stay at the scene of the accident until the emer-    gency services arrive.  You     should also inform the services if any dangerous goods are      involved.?"
   1 ">You should only overtake if it  is safe to do so.?"
   1 ">You should always keep a check  on what is behind you, by       looking in your mirror?"
   1 ">You must not reverse at any time?"
   1 ">You must know the Green Cross   Code!?"
   1 ">Which seven items should be keptclean and clear?windscreens,windows,direction indicators,reflectors,mirrors,number plates|lamps,lights*7"
   1 ">Where are the safe areas of a   motorway where any uninjured    people can be placed?hard shoulder central reservation"
   1 ">What are the two things that youshould check are 'extinguished' and turned off at an accident?engines cigarrettes"
   1 ">There should be suitably dressedlook-outs and the appropriate   lamps at night.?"
   1 ">The young and the elderly may   step into the road when you do  not expect them.  Give people   with physical disabilities      plenty of time to cross the road?"
   1 ">The lines give a guide to the   restriction in force but the    time plates must be consulted.?"
   1 ">If you become tired on a journeystop and rest at a designated   parking place.?"
   1 ">If you answered 'no' to the lastquestion I suggest you stay awayfrom railways until you get thispoint clear!!?"
   1 ">If traffic is moving slowly in  queues is it permissible to moveinto the left lane to overtake?no"
   1 ">How far should this be on       motorways?150"
   1 ">How far away from you should    you place this sign on a normal road (answer in yards, as a     number, please)?50"
   1 ">Generally, slow moving vehicles are prohibited from using motor-ways.  Ensure you know if your  vehicle is prohibited or specialconditions apply.?"
   1 ">Even if there is a refuge you   must wait for people crossing   from the further side.?"
   1 ">Do not use them for any other   reason.?"
   1 ">Children are often difficult to see.?"
   1 ">Check your highway code to      ensure you know who is exempt   from wearing seat belts.?"
   1 ">Always take into account the    conditions at the time.?"
   1 ">Always make way for emergency   vehicles warning you of their   presence.?"
   1 ">Always make clear arm signals.?"
   1 "<10>At the scene of an accident.    What should you use to warn     other traffic?triange hazard|lights lamps"
   1 "<03>What signs should you place     on the same side of the road    in front of oncoming traffic    (assuming you carry this sign)?triange|red reflecting"
   1 "<02>You must keep your vehicle in   good condition.  To which 8     items should you pay particular attention?lights,brakes,steering,tyres,seat belts,demisters,wipers,washers*8"
   1 "<02>What should you do when there   are vehicles coming towards you and there is an obstruction on  the left-hand side of the road?give way"
   1 "<02>What is the name of the code    that all pedestrians must       follow?green cross"
   1 "<02>Type in the missing words:      Give signals if they would * or * other road users.  Give only  the * signals, * and in good *.?help,warn,correct,clearly,time"
   1 "<02>Type in the missing word:       allow others to * you if they   want to.?overtake"
   1 "<02>Type in the missing word:       Any speed limit is a *.?maximum"
   1 "<02>Type in the missing numbers:    2 out of 3 pedestrians killed orseriously injured are either    under * or over * .Type the agesas numbers, please)?15,60"
   1 "<02>On the kerb, and along the      carriageway, waiting and loadingrestrictions are indicated by   lines of which colour?yellow"
   1 "<02>Must you always give way to     trains?yes"
   1 "<02>In most vehicles, what should   the driver and front seat pass- enger wear?|seat belt,seat belts"
   1 "<02>If considered safe, what should you do when buses are indicatingto move out from a bus stop?give way"
   1 "<02>How do you let other road users know what you want to do?arm signals"
   1 "<02>Fill in the missing words:      The flashing of headlamps, like sounding your horn, has only onemeaning:  it lets other road    users know * * *.?you,are,there"
   1 "<02>Fill in the missing words:      Before you reverse make sure    there are no * or * in the road behind you.?pedestrians,obstructions"
   1 "<02>Fill in the missing word:       Traffic travels * on motorways  than on ordinary roads.?faster"
   1 "<02>Driving for long distances may  make you feel sleepy. Allowing  plenty of what into the vehicle may help prevent this?fresh air"
   1 "<02>Can you cross a double white    line to overtake if the line    nearest to you is not solid?yes"
   1 "<02>At a pelican crossing, does a   flashing amber light mean you   have priority over pedestrians?no"
   1 "<02>Are you allowed to reverse on   the motorway if you have just   missed your turn off point?no"
   1 "<02>A group of marching people      should keep to which side of theroad?|left,left hand"
   1 ")''"You scored ";score;" out of ";number:
   1 ")''" ..the computer will ask you     for a list of items.  When      this is the case, type each     item as a separate answer:      when you have typed the         required number of items, the   computer will check your        replies.":
   1 ")''"   You will be asked a series    of questions.  You may type     your replies when the flashing  cursor appears:
   1 ")''"   The computer can recognise    words but knows nothing about   their meaning, or about         grammar.  Imagine the answer    to a question is 'left' but     you reply 'right, not left'.    The computer will search for    and find 'left' and be satis-   fied that you have answered     correctly."'"   The text follows the          instructions of the Highway     Code and the computer expects   the answers accordingly.  The   computer will be very fussy     about your answers!"
   1  The Road 
   1  Special rules for c
   1  Railway Level 
   1   Your answer   may not be longer than two      lines, and you may not use      words longer than 25 letters.   Apart from these restrictions,  You can answer in normal        English, using punctuation      freely.  The DELETE key may     be used to correct any typing   errors.                          "'"  When you finish a reply,       please press the ENTER key.":
   1     RAILWAY LEVEL CROSSINGS